var SFFData=cc.Class.extend({
	group:0,
	no:0,
	id:[0],
	delay:0,
	filename:"default",
	plistname:null,
	rect:null,
	anchor_x:0,
	anchor_y:0,
	clsnds:null,
	clsnas:null,
	ctor:function(name,typeStr,nframe){

		var anim=eval(name+"_anim");
		var thisanim=anim[typeStr];
		var thisframe=thisanim[nframe];

		for(key in thisframe)
		{
			if(key=="clsnds"||key=="clsnas")
			{
				//添加碰撞框
				this[key]=[];
				for(var i=0;i<thisframe[key].length;++i)
				{
					var recti=thisframe[key][i];
					this[key].push(cc.rect(recti[0],recti[1],
						recti[2]-recti[0],recti[3]-recti[1]));


				}
			}else
			{
				this[key]=thisframe[key];
			}
		}


		var sff=eval(name+"_sff");
		this.anchor_x=sff[this.group][this.no][0];
		this.anchor_y=sff[this.group][this.no][1];
	}
})